package com.youth.entity.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.youth.result.StatusEnum;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName SpecificationCommodity
 * @Description: TODO 商品规格信息持久化对象
 * @Author yjwu
 * @Date 2019/10/21 21:09
 **/
@Data
@Builder
public class SpecificationCommodity implements Serializable {
    private static final Long serialVersionUID = 1L;
    private int id;
    //    商品规格名称
    private String name;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    @Builder.Default
    private int status = StatusEnum.INUSE.getStatus();
}
